home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 23 Geos Applications / EXPAND.THD < prev    next >
Text File  |  2019-04-13  |  4KB  |  76 lines

  1. #: 18637 S13/GEOS Connection  I
  2.     12-Mar-89  12:49:32
  3. Sb: #Expanding C64 Memory
  4. Fm: Ross Nash 72627,3536
  5. To: [F] Ed Flinn/Sysop 76703,4032 (X)
  6.  
  7. I have a question about the 1764(?) memory expansion for the C64.  I have not
  8. looked into a memory expander for the C64 because it was my understanding that
  9. the C64 could not expand its memory.  Added memory could only be used as a
  10. ramdisk.  Is this true with 1764, or is it a real, contiguous memory expansion.
  11. If it is not contiguous, how does it help GEOS run more efficently when there
  12. are two different models of drives?
  13.  
  14.  
  15. #: 18639 S13/GEOS Connection  I
  16.     12-Mar-89  13:17:11
  17. Sb: #18637-Expanding C64 Memory
  18. Fm: Ed Flinn/Sysop 76703,4032
  19. To: Ross Nash 72627,3536
  20.  
  21. Russ,
  22.    You're absolutely right, the 1764 does not really act as additional memory
  23. for the 64, but as a *very* fast data storage device.  When you're using a 1764
  24. with GEOS 64, GEOS does a number of things to help itself.  First, it enables
  25. DMA for "MoveData" operations.  I don't really understand that, the book says
  26. it allows GEOS to move large amounts of data within the REU, and I know you can
  27. see the improvement when you scan across a geoPaint file, for instance.
  28.    The next good thing it does is to store some information to make it quicker
  29. to reboot back to GEOS after exiting to BASIC.
  30.    It's when we get to disks that life gets really fun.  The 1764 can be used
  31. as though it were a disk drive.  This isn't the RAMDOS programs, but is built
  32. into GEOS, activated from the Configure program.  You have two choices as to
  33. how to do it.  The first is easy to understand, and is called 'RAM 1541'. It's
  34. just a RAMdisk, the size of a 1541.  It's blindingly fast, and supports all
  35. GEOS operations.  You do, of course, have to remember to copy what you want
  36. there each time you boot GEOS, and especially remember to copy anything you
  37. want to save off of it before you power down the computer.
  38.    The other choice may be even more useful, if you have two real drives
  39. already.  The 1764 can be used to "shadow" a real 1541.  The concept of
  40. shadowing is:
  41.    As GEOS requests that a particular sector on the disk be read, a table in
  42. the REU is checked.  If that sector has not already been read, then it is read,
  43. passed to GEOS, and also placed in the RAM "sector" in the REU.  The next time
  44. GEOS calls for that sector, the table look-up will find it in the REU, and it
  45. will be passed to GEOS from there, with no disk I/O occurring. All writes go to
  46. the REU and the disk immediately.  The greatest way to demonstate this for
  47. yourself is to place a geoPaint file on a shadowed disk. Open it and scroll
  48. down it.  It'll be as slow as usual.  Now scroll back up. Since all the sectors
  49. are now being read from REU instead of 1541, there's no delay.  Fast!
  50.  
  51.    I hope I've explained this well, sometimes I get carried away  <grin>
  52.  
  53. #: 18720 S13/GEOS Connection  I
  54.     16-Mar-89  15:17:50
  55. Sb: #18637-Expanding C64 Memory
  56. Fm: Anthony Marsh 72127,2301
  57. To: Ross Nash 72627,3536
  58.  
  59. As usual Ed gave a very good explanation. Some further info: The Commodore 64
  60. uses a 6502 CPU chip so it can only see 64K at one time. Same problem for the
  61. 128 and other computers. So what the 128 and others do is have banks of 64K and
  62. flip back and forth between them. Some hardware hackers have been doing a
  63. similar thing for the 64. There was an article in a recent Transactor I think
  64. giving directions on how to do that. But the nice thing about the REU is that
  65. the DMA is much faster than reading in bytes. It can flip between looking at
  66. one range of bytes in one bank to another almost instantaneously. So if you can
  67. find one, please buy it. Also if you use GEOS 2.0, you can not use two
  68. different types of disk drives to maximum potential and it is too slow, so the
  69. REU is almost a necessity. The biggest problem now is interfacing the REU into
  70. our favorite programs. Almost impossible with commercial programs that don't
  71. make special provisions for it. There are some nice programs that do use it,
  72. but not enough. I got mine for $55 on a closeout at Service Mechandise and keep
  73. your eyes out for people selling them when they go for an AMIGA. Tony
  74.  
  75.  
  76.